from app.server.flask_app.model_views.CustomModelView import CustomModelView
from app.server.flask_app.model_views.mixins.AuthMixin import AuthMixin


class StatsModelView(AuthMixin, CustomModelView):

    column_searchable_list = [
        "days",
        "accounts",
        "likes",
        "comments",
        "documents",
        "uniques",
        "whitepages",
        "dolphin_accs",
        "messages_distribution",
    ]
    column_editable_list = column_searchable_list
    column_filters = column_searchable_list
